package com.zznzzn.myweb.service;


import com.zznzzn.myweb.pojo.Record;

import java.util.Date;
import java.util.List;

public interface RecordService {
    public int newRecord(Record record);
    public List<Record> queryRecordsBetweenUuidBylimit(String fromid,String toid,int limit);
    public List<Record> queryRecordsBetweenUuidByAfter(String fromid, String toid, Date time);
    public List<Record> queryRecordsBetweenUuid(String fromid, String toid);
    public List<Record> queryRecordsBetweenUuidAfterTimeByLimit(String fromid, String toid,Date time,int limit);
    public List<Record> queryRecordsOfUuid(String fromid,int limit);
    public int setReceived(String fromid,String toid);
//    public int deleteRecordsBetweenUuid(String fromid,String toid);
}
